#include<thread>
#include<iostream>
using namespace std;

void func1() {
	while (true) {
		std::this_thread::sleep_for(std::chrono::microseconds(100));
		cout << "func1" << endl;
	}
}

void func2() {
	int i = 0;
	int a = 1 / i;
}

struct A
{
	char a;
	char b;
	double c;
	int d;
	char e[30];
};

int main() {
	//std::thread th1(func1);
	//std::thread th2(func2);
	//th1.join();

	char* p = (char*)malloc(10);
	cout << sizeof(A) << endl;
}
